Taming transitive redundancy for context-free language reachability
نویسندگان
چکیده
Given an edge-labeled graph, context-free language reachability (CFL-reachability) computes reachable node pairs by deriving new edges and adding them to the graph. The redundancy that limits scalability of CFL-reachability manifests as redundant derivations, i.e., identical can be derived multiple times due many paths between two nodes. We observe most arises from derivations involving transitive relations pairs. Unfortunately, existing techniques for reducing in transitive-closure-based problems are either ineffective or inapplicable identifying eliminating during on-the-fly solving. This paper proposes a scalable yet precision-preserving approach all-pairs analysis taming its redundancy. Our key insight is intrinsically ordered, utilizing order edge derivation avoid To address challenges determining dynamically changed graph solving, we introduce hybrid representation combining spanning trees adjacency lists, together with dynamic construction algorithm. Based on this representation, propose fast effective partially ordered algorithm POCR boost performance experiments context-sensitive value-flow field-sensitive alias C/C++ demonstrate promising POCR. On average, eliminates 98.50% 97.26% respectively analysis, achieving speedups 21.48× 19.57× over standard also compare recent open-source tools, Graspan (a solver) Soufflé Datalog engine). results 3.67× faster than average both analysis.
منابع مشابه
Interconvertibility of Set Constraints and Context-free Language Reachability 1
We show the interconvertibility of context-free-language reachability problems and a class of set-constraint problems: given a context-free-language reachability problem, we show how to construct a set-constraint problem whose answer gives a solution to the reachability problem; given a set-constraint problem, we show how to construct a context-free-language reachability problem whose answer gi...
متن کاملInterconvertibility of Set Constraints and Context-free Language Reachability
We show the interconvertibility of context-free-language reachability problems and a class of set-constraint problems: given a context-free-language reachability problem, we show how to construct a set-constraint problem whose answer gives a solution to the reachability problem; given a set-constraint problem, we show how to construct a context-free-language reachability problem whose answer gi...
متن کاملInterconvertibility of a Class of Set Constraints and Context-free-language Reachability 1
We show the interconvertibility of context-free-language reachability problems and a class of set-constraint problems: given a context-free-language reachability problem, we show how to construct a set-constraint problem whose answer gives a solution to the reachability problem; given a set-constraint problem, we show how to construct a context-free-language reachability problem whose answer gi...
متن کاملInterconvertibility of a class of set constraints and context-free-language reachability
We show the interconvertibility of context-free-language reachability problems and a class of set-constraint problems: given a context-free-language reachability problem, we show how to construct a set-constraint problem whose answer gives a solution to the reachability problem; given a set-constraint problem, we show how to construct a context-free-language reachability problem whose answer gi...
متن کاملContext-Free Language Theory Formalization
Proof assistants are software-based tools that are used in the mechanization of proof construction and validation in mathematics and computer science, and also in certified program development. Different tools are being increasingly used in order to accelerate and simplify proof checking. Context-free language theory is a well-established area of mathematics, relevant to computer science founda...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Proceedings of the ACM on programming languages
سال: 2022
ISSN: ['2475-1421']
DOI: https://doi.org/10.1145/3563343